Start Console Logs
AutomatR.Web.StartConsoleLogs
The "Start Console Logs" activity in AutomatR is designed for UI automation workflows, capturing Chrome browser console logs. This activity is particularly useful when you need to monitor and analyze console logs for debugging or verification purposes.
Properties
Name | Description |
---|---|
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before capturing the console logs. This can be useful for handling synchronization issues or waiting for the web page to load completely. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e. 1. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
How to use:
- Drag and drop the "Start Console Logs" activity onto the workflow.
- Optionally, configure the delay to wait before initiating the capture of console logs.
- Execute the workflow to start capturing Chrome browser console logs.
Example: Consider an example where the "Start Console Logs" activity is used to capture console logs for a web page:
Start Console Logs:
Display Name: "Capture Console Logs"
Delay: 5 (seconds)
In this example, the activity initiates the capture of Chrome browser console logs after waiting for 5 seconds. The captured logs can be further processed or analyzed as needed.